package com.zbkj.crmeb.marketing.request;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("eb_store_coupon")
@ApiModel(value="StoreCouponSearchRequest对象", description="优惠券模板搜索")
public class StoreCouponSearchRequest implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "优惠券表ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    
    @ApiModelProperty(value = "商户号")
    private Integer merId;

    @ApiModelProperty(value = "优惠券名称")
    private String name;

    @ApiModelProperty(value = "是否隐藏（0：否，1：是）")
    private Boolean status;

    @ApiModelProperty(value = "是否过滤使用时间过期券")
    private Boolean isUseOver;

    @ApiModelProperty(value = "是否过滤领取时间过期券")
    private Boolean isReceiveOver;

    @ApiModelProperty(value = "使用类型 1 全场通用, 2 商品券, 3 品类券")
    private Integer useType;
    
    @ApiModelProperty(value = "优惠券类型 1 手动领取, 2 自动发放,3会员按月自动发放,4成为会员立即到账")
    private Integer type;

    @ApiModelProperty(value = "标识")
    private String tag;
    
    @ApiModelProperty(value = "说明")
    private String remark;
    
    @ApiModelProperty(value = "须知")
    private String notice;

    @ApiModelProperty(value = "是否删除 状态（0：否，1：是）")
    private Boolean isDel;

    @ApiModelProperty(value = "创建开始时间")
    private Date startTime;
    
    @ApiModelProperty(value = "创建结束时间")
    private Date endTime;

    @ApiModelProperty(value = "适用人群: 1 所有 2 无订单用户 3 新用户,4会员用户")
    private Integer crowd;

    @ApiModelProperty(value = "发放时间类型1固定时间，2按月发放")
    private Integer releaseType;

    @ApiModelProperty(value = "按月发放日期")
    private Integer releaseDate;

    @ApiModelProperty(value = "是否过滤会员false否,true是")
    private Boolean filterMemberFlag;
    
}
